<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="panel panel-default">
        <div class="panel-heading">激活条件设置</div>
        <div class="panel-body">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('天数限制')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="day_limit" data-rule="required" class="form-control" name="day_limit" type="text" value="{$day_limit}" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('消费金额')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="money" data-rule="required" class="form-control" name="money" type="text" value="{$money}" autocomplete="off">
                </div>
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
<!--            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
            <button type="reset" class="btn btn-warning btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>
